/**
 * @Author: 耿立强
 * @Date: 2019/6/20
 * @Last Modified by: 杨光宇
 * @Last Modified time: 2021-02-07 15:22:01
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 审核活动列表
export const listRecord = params => axios.post(`${SERVER.DMSCLOUD_ACTIVITY}/ttRpMa/listRecord/claim`, params);
/*添加Vin*/

/*审核与驳回*/
export const saveClaimPassOrBack = params => axios.post(`${SERVER.DMSCLOUD_ACTIVITY}/ttRpMa/saveClaimPassOrBack`, params);

export const exportMaRecord = params => {
  return axios({
    url: `${SERVER.DMSCLOUD_ACTIVITY}/ttRpMa/exportMaRecord/claim`,
    method: 'get',
    params: params,
    responseType: 'blob'
  });
};
//下载中心导出
export const exporturl = params => axios.post(`/api/cmscloud.excel/downloadExcel/exportExcel/${params.CODE}`, params);
